#ifndef PANELPART_H
#define PANELPART_H

#include "Picking.h"
#include <string>

class PanelPart : public Picking {
	public:	
		virtual void draw() = 0;
		
	protected:
		PanelPart(std::string picking_name, unsigned int x, unsigned int y, unsigned int width, unsigned int height, float r, float g, float b, float bg_r, float bg_g, float bg_b, char* value_type);
		
		void translate_text(int x, int y);
		void draw_string(char* s);
		
		unsigned int x, y;
		unsigned int width, height;
		
		float color_r, color_g, color_b;
		float bg_color_r, bg_color_g, bg_color_b;

		char* value_type;
		std::string initial_name;
		
	friend class InfoPanel;
};
#endif
